package com.lsl.bhllserver.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lsl.bhllserver.entity.userabstract.User;

@TableName("user_customer")
public class Customer extends User implements Serializable {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String cusName;
    private String cusPassword;
    private String cusPhone;
    private String cusAddress;

    public Customer() {

    }

    public Customer(Integer id, String cusName, String cusPassword, String cusPhone, String cusAddress) {
        this.id = id;
        this.cusName = cusName;
        this.cusPassword = cusPassword;
        this.cusPhone = cusPhone;
        this.cusAddress = cusAddress;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName;
    }

    public String getCusPassword() {
        return cusPassword;
    }

    public void setCusPassword(String cusPassword) {
        this.cusPassword = cusPassword;
    }

    public String getCusPhone() {
        return cusPhone;
    }

    public void setCusPhone(String cusPhone) {
        this.cusPhone = cusPhone;
    }

    public String getCusAddress() {
        return cusAddress;
    }

    public void setCusAddress(String cusAddress) {
        this.cusAddress = cusAddress;
    }

    @Override
    public String toString() {
        return "Customer [id=" + id + ", cusName=" + cusName + ", cusPassword=" + cusPassword + ", cusPhone=" + cusPhone
                + ", cusAddress=" + cusAddress + "]";
    }

}
